import java.util.ArrayList;

public class Symbol {
	private String name;
	private Node type;
	private boolean isInitial;
	public String getParent() {
		return parent;
	}

	public void setParent(String parent) {
		this.parent = parent;
	}
	private ArrayList<String> scopes;
	private String parent;
	
	public Symbol(String name, Node type, boolean isInitial, String scope, String parent) {
		this.name = name;
		this.type = type;
		this.isInitial = isInitial;
		this.scopes = new ArrayList<String>();
		this.scopes.add(scope);
		this.parent = parent;
	}
	
	public boolean isInitial() {
		return isInitial;
	}

	public void setInitial(boolean isInitial) {
		this.isInitial = isInitial;
	}

	public ArrayList<String> getScopes() {
		return scopes;
	}

	public void setScopes(ArrayList<String> scopes) {
		this.scopes = scopes;
	}

	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Node getType() {
		return type;
	}
	public void setType(Node type) {
		this.type = type;
	}
	
}
